package com.jiantong.user.service;

import com.jiantong.user.enums.LoginType;
import com.jiantong.user.model.RolesWeb;
import com.jiantong.user.model.User;
import com.jiantong.user.model.UserProfile;
import io.terminus.common.model.Paging;
import io.terminus.common.model.Response;

import javax.management.relation.Role;
import java.util.List;
import java.util.Map;

public interface RolesWebReadService<T extends RolesWeb> {

    Response<RolesWeb> findById(Long id);

    Response<List<RolesWeb>> findbykeyword(Map criteria);


}
